package zuoye.test2;

class Cat extends Animal {
    public Cat() {
    }

    public Cat(String color, String breed) {
        super(color, breed);
    }

    public void catchMouse() {
        System.out.println(getColor() + "的" + getBreed() + "正在逮老鼠.");
    }
}